package com.itheima.reggie.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Lff
 * @date 2022/2/21
 */
@Data
public class OrderPageQueryDto {
    private Integer page;
    private Integer pageSize;
    private Long number;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
